﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UCLoaiSanPham.ascx.cs" Inherits="UControl_UCLoaiSanPham" %>
<asp:DataList ID="DsLoai" runat="server" CellPadding="0" DataKeyField="MaLoai" 
    Width="100%" Height="64px" DataSourceID="EntityDataSource1">
<%--    <ItemTemplate>
        <img src="../Images/bulletOrange.png" />
        <asp:HyperLink ID="HyperLink1" runat="server" 
            NavigateUrl='<%# "~/Pages/SanPham.aspx?idLSP="+Eval("MaLoai") %>' 
            Text='<%# Eval("TenLoai") %>' BackColor="Lime" BorderColor="Lime" 
            Font-Bold="True" ForeColor="White" Height="20px" CssClass="border-Bottom" Width="85%"></asp:HyperLink>
    </ItemTemplate>--%>

                    <ItemTemplate>
                        
                            <img src="../Images/bulletOrange.png" />
                            <asp:HyperLink ID="HyperLink1" runat="server" Text='<%# Eval("TenLoai") %>' 
                                ForeColor="#FF3300" CssClass="border-Bottom" Width="85%" 
                                NavigateUrl='<%# "~/Pages/SanPham.aspx?idLSP="+Eval("MaLoai") %>' 
                                Font-Bold="True" ></asp:HyperLink>
                                
                        </ItemTemplate>

</asp:DataList>

<asp:EntityDataSource ID="EntityDataSource1" runat="server" 
    ConnectionString="name=EDiamondEntities1" 
    DefaultContainerName="EDiamondEntities1" EnableFlattening="False" 
    EntitySetName="LoaiSanPhams">
</asp:EntityDataSource>


